import State from "../../Base/State";
import { StateMachine } from "../../Base/StateMachine";
import { SPIKE_COUNT_ENUM } from "../../Enums";
import SpikeSubManchine from "./SpikeSubManchine";

const BASE_URL = 'texture/spikes/spikesfour'

export default class SpikeFourSubManchine extends SpikeSubManchine {
    constructor(fsm: StateMachine) {
        super(fsm);
        this.statMachines.set(SPIKE_COUNT_ENUM.ZERO, new State(fsm, `${BASE_URL}/zero`));

        this.statMachines.set(SPIKE_COUNT_ENUM.ONE, new State(fsm, `${BASE_URL}/one`));

        this.statMachines.set(SPIKE_COUNT_ENUM.TWO, new State(fsm, `${BASE_URL}/two`));

        this.statMachines.set(SPIKE_COUNT_ENUM.THREE, new State(fsm, `${BASE_URL}/three`));

        this.statMachines.set(SPIKE_COUNT_ENUM.FOUR, new State(fsm, `${BASE_URL}/four`));

        this.statMachines.set(SPIKE_COUNT_ENUM.FIVE, new State(fsm, `${BASE_URL}/five`));
    }



}